home *** CD-ROM | disk | FTP | other *** search
/ .net 2002 March / DotNetMagazine-Issue107-Coverdisc-NET107-02-03-PCMac.bin / pc / PC Software / free_browsing / DavesQckSearchDbar3-14 / dqsd.exe / searches / jsexec.xml < prev    next >
Text File  |  2002-09-10  |  887b  |  30 lines

  1. <search function="jsexec">
  2.   <name>Execute Javascript</name>
  3.   <description>
  4.     Execute a javascript script.<br/>
  5.     <div class="helpboxDescLabels">Examples:</div>
  6.     <table class="helpboxDescTable">
  7.       <tr><td>jsexec "pneumonoultramicroscopicsilicovolcanoconiosis".length</td></tr>
  8.       <tr><td>jsexec alert("Hello world !")</td></tr>
  9.       <tr><td>jsexec var info="Hello world !";alert(info)</td></tr>
  10.     </table>
  11.   </description>
  12.   <category>Computers</category>
  13.   <link></link>
  14.   <contributor>MLL</contributor>
  15.  
  16.   <script><![CDATA[
  17.     function jsexec(q)
  18.     {
  19.       if( nullArgs( "jsexec", q ) ) return false;
  20.       document.deff.q.value = eval(q);
  21.     }
  22.   ]]></script>
  23.  
  24.   <copyright>
  25.     Copyright (c) 2002 David Bau
  26.     Distributed under the terms of the
  27.     GNU Public License, Version 2 (http://www.gnu.org/copyleft/gpl.txt)
  28.   </copyright>
  29. </search>
  30.